package com.probox.common.entity.domain.platfom;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.probox.common.core.annotation.Excel;

/**
 * 店铺地址对象 platform_address
 *
 * @author usoft
 * @date 2021-07-05
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("platform_address")
@ApiModel(description = "店铺地址")
public class PlatformAddress implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    //默认主键自增
    @TableId(value = "PLATFORM_ADDRESS_UID", type = IdType.AUTO)
    private Long platformAddressUid;

    /**
     * 平台ID
     */
    @Excel(name = "平台ID")
    @ApiModelProperty(value = "平台ID")
    private Long platformUid;

    /**
     * 负责人姓名
     */
    @Excel(name = "负责人姓名")
    @ApiModelProperty(value = "负责人姓名")
    private String name;

    /**
     * 负责人联系电话
     */
    @Excel(name = "负责人联系电话")
    @ApiModelProperty(value = "负责人联系电话")
    private String mobile;

    /**
     * 省份代码
     */
    @Excel(name = "省份代码")
    @ApiModelProperty(value = "省份代码")
    private String provinceCode;

    /**
     * 省份名称
     */
    @Excel(name = "省份名称")
    @ApiModelProperty(value = "省份名称")
    private String provinceName;

    /**
     * 城市代码
     */
    @Excel(name = "城市代码")
    @ApiModelProperty(value = "城市代码")
    private String cityCode;

    /**
     * 城市名称
     */
    @Excel(name = "城市名称")
    @ApiModelProperty(value = "城市名称")
    private String cityName;

    /**
     * 区县代码
     */
    @Excel(name = "区县代码")
    @ApiModelProperty(value = "区县代码")
    private String countyCode;

    /**
     * 区县名称
     */
    @Excel(name = "区县名称")
    @ApiModelProperty(value = "区县名称")
    private String countyName;

    /**
     * 详细地址
     */
    @Excel(name = "详细地址")
    @ApiModelProperty(value = "详细地址")
    private String address;

    /**
     * 邮政编号
     */
    @Excel(name = "邮政编号")
    @ApiModelProperty(value = "邮政编号")
    private String postCode;

    /**
     * 是否默认地址
     */
    @Excel(name = "是否默认地址")
    @ApiModelProperty(value = "是否默认地址")
    private String isDefault;

    /**
     * 创建用户
     */
    @Excel(name = "创建用户")
    @ApiModelProperty(value = "创建用户")
    private Long createUid;

    /**
     * 创建人账号
     */
    @Excel(name = "创建人账号")
    @ApiModelProperty(value = "创建人账号")
    private String createName;

    /**
     * 修改用户
     */
    @Excel(name = "修改用户")
    @ApiModelProperty(value = "修改用户")
    private Long updateUid;

    /**
     * 修改人账号
     */
    @Excel(name = "修改人账号")
    @ApiModelProperty(value = "修改人账号")
    private String updateName;

    /**
     * $column.columnComment
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改人账号", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改人账号")
    private Date createTime;

    /**
     * $column.columnComment
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改人账号", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改人账号")
    private Date updateTime;

    /**
     * 数据状态 0无效 1有效 -1删除
     */
    @Excel(name = "数据状态 0无效 1有效 -1删除")
    @ApiModelProperty(value = "数据状态 0无效 1有效 -1删除")
    private String dataStatus;

    /**
     * 地址类型，receive收货/ send发货
     */
    @Excel(name = "地址类型，receive收货/ send发货")
    @ApiModelProperty(value = "地址类型，receive收货/ send发货")
    private String dataType;


}
